<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>TRON-SDL:  Fichier source de Jeu.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">TRON-SDL
   </div>
   <div id="projectbrief">YES</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Jeu.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="Jeu_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef _JEU_H</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define _JEU_H</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Joueur_8h.html" title="Module des Joueurs.">Joueur.h</a>&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Grid_8h.html" title="Module des vecteurs.">Grid.h</a>&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Constantes_8h.html" title="Module des constantes du jeu.">Constantes.h</a>&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Bonus_8h.html" title="Module des Bonus du jeu.">Bonus.h</a>&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="Musique_8h.html" title="Module des Musiques du jeu.">Musique.h</a>&quot;</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="code" href="structJeu.html">   21</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;{</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="code" href="structJeu.html#a004d8d0f888b9dea26cbbc2d6afea6e7">   23</a></span>&#160;        <a class="code" href="structGrid.html" title="Structure de la grille.">Grid</a> <a class="code" href="structJeu.html#a004d8d0f888b9dea26cbbc2d6afea6e7">grille</a>;</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="code" href="structJeu.html#aafbe63ae87dd9d9b17e69ae94123ee31">   24</a></span>&#160;        <a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a> *<a class="code" href="structJeu.html#aafbe63ae87dd9d9b17e69ae94123ee31">mesJoueurs</a>;</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="code" href="structJeu.html#a3db4303dcbb7630f11d5bfdf4a7bf181">   25</a></span>&#160;        <span class="keywordtype">int</span> *<a class="code" href="structJeu.html#a3db4303dcbb7630f11d5bfdf4a7bf181">scores</a>;</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="code" href="structJeu.html#a70bf0e19753aaa6cfba719388aae410d">   26</a></span>&#160;        <a class="code" href="structBonus.html" title="Structure d&#39;un Bonus.">Bonus</a> mesBonus[<a class="code" href="Constantes_8h.html#af4e31715ab308023d6200e64b86b9946">_Nombre_de_Bonus</a>];</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="code" href="structJeu.html#a08a8620c89aa61ed6bbeb2dcf6c68a40">   27</a></span>&#160;        <span class="keywordtype">int</span> <a class="code" href="structJeu.html#a08a8620c89aa61ed6bbeb2dcf6c68a40">tempsProchainBonus</a>;</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="structJeu.html#a254bcdad7f9995cb345b777980ffdbe0">   28</a></span>&#160;        <a class="code" href="structMusique.html" title="Structure d&#39;une musique.">Musique</a> <a class="code" href="structJeu.html#a254bcdad7f9995cb345b777980ffdbe0">musique</a>;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;} <a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<a class="code" href="structGrid.html" title="Structure de la grille.">Grid</a>* <a class="code" href="Jeu_8c.html#a9cd710c657af64a74c7cc26a4e726d14">JeuGetGrille</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu);</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a>* <a class="code" href="Jeu_8c.html#a00cab8b79f7ac548749dd29b6a3dcefd">JeuGetIemeJoueurs</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu,<span class="keywordtype">int</span> i);</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keywordtype">int</span> <a class="code" href="Jeu_8c.html#a570c1b49959c5727b784ff980a9ca5ba">JeuGetIemeScore</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu,<span class="keywordtype">int</span> i);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<a class="code" href="structBonus.html" title="Structure d&#39;un Bonus.">Bonus</a>* <a class="code" href="Jeu_8c.html#a4d3ff47d4638c2a84807bc73b63c2040">JeuGetIemeBonus</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu,<span class="keywordtype">int</span> i);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="keywordtype">int</span> <a class="code" href="Jeu_8c.html#ae4c5515bf7a3dc1b8c55dd193559cc59">JeuGetTempsProchainBonus</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<a class="code" href="structMusique.html" title="Structure d&#39;une musique.">Musique</a>* <a class="code" href="Jeu_8c.html#a960195d08a333a161de438fde3f0ce9c">JeuGetMusique</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a76c474e2d5c7de3fc3f4878346c33f6d">JeuSetGrille</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu,<a class="code" href="structGrid.html" title="Structure de la grille.">Grid</a>* grille);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a5f97577deb2605062a4b7de1473aae9a">JeuSetIemeJoueurs</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu,<a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a>* <a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a>,<span class="keywordtype">int</span> i);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#aed59312d10d85b62fbe0320d267c1172">JeuSetIemeScore</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu,<span class="keywordtype">int</span> score,<span class="keywordtype">int</span> i);</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#acd42a024bebfff90910b9694e6958531">JeuSetIemeBonus</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu,<span class="keyword">const</span> <a class="code" href="structBonus.html" title="Structure d&#39;un Bonus.">Bonus</a>* bonus,<span class="keywordtype">int</span> i);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a71ff5aea9bbf81e8ecd84a2a5a0d27cb">JeuSetTempsProchainBonus</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu,<span class="keywordtype">int</span> tempsProchainBonus);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8h.html#a89ddb8509d691d1f24b3be6c141ee1c7">JeuSetMusique</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu,<a class="code" href="structMusique.html" title="Structure d&#39;une musique.">Musique</a>* musique);</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a21f6877d6b5377c9df2a8321313437f4">JeuConstructeur</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu, <a class="code" href="structGrid.html" title="Structure de la grille.">Grid</a>* grille, <a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a> * mesJoueurs, <span class="keywordtype">int</span>* scores);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a8bcba1ef69f19fb2db2610e0391cfd51">JeuDestructeur</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu);</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a71bdcf7116b2f14b792d222c49ff74de">JeuEvolue</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu,<span class="keywordtype">short</span> <span class="keywordtype">int</span>* jeuFini,<span class="keywordtype">char</span> *nouveauMessage,<a class="code" href="Couleur_8h.html#aa304d0ca681f782b1d7735da33037dd7">Couleur</a> *couleurMessage);</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#ac2310df2f749aa58dc111b1bf906f2a8">bougeMoto</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu);</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="keywordtype">char</span> <a class="code" href="Jeu_8c.html#af340da255b9d4e0b94c590aba6286148">testCollisionMur</a>(<a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a> * joueur, <a class="code" href="structGrid.html" title="Structure de la grille.">Grid</a> * grille);</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="keywordtype">char</span> <a class="code" href="Jeu_8c.html#a1d6d77911c3af96664c509572d7c9abe">testCollisionMoto</a>(<a class="code" href="structMoto.html" title="Structure d&#39;une Moto.">Moto</a>* moto, <a class="code" href="structMoto.html" title="Structure d&#39;une Moto.">Moto</a>* moto2);</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a43389b43f891711881d87d46c92a53a0">JeuActionClavier</a>(<a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a>* joueur, <a class="code" href="Moto_8h.html#a224b9163917ac32fc95a60d8c1eec3aa">Direction</a> direction,<a class="code" href="structGrid.html" title="Structure de la grille.">Grid</a>* grille);</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a2ce61226efe3fd99a225cb1609c14833">JeuActionneBonus</a>(<a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a>*<a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a>);</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a7dadf0dab9b369d34f8db1e6f03220e4">JeuGereIA</a>(<a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a>* joueur,<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu);</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#aaa794bc48d4a68c8f3a3ffdb881f8eb3">afficheGrilleAnalyse</a>(<span class="keywordtype">short</span> <span class="keywordtype">int</span> (*grilleAnalyse)[<a class="code" href="Constantes_8h.html#abf68bdf8402080e47166e730e6fa7839">_Taille_Y_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>]</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;                                                    [<a class="code" href="Constantes_8h.html#a22ca4a20964744e6df65d2c81d5b41ff">_Taille_X_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>]);</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a057ccaa58f66d1839542ce3ed73bd0d5">afficheGrilleDistances</a>(<span class="keywordtype">short</span> <span class="keywordtype">int</span> (*grilleDistance)[<a class="code" href="Constantes_8h.html#abf68bdf8402080e47166e730e6fa7839">_Taille_Y_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>]</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;                                                       [<a class="code" href="Constantes_8h.html#a22ca4a20964744e6df65d2c81d5b41ff">_Taille_X_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>]);</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a3b3af5966cdc7cbf24276b5e80bdc032">creerGrilleAnalyse</a>(<span class="keywordtype">short</span> <span class="keywordtype">int</span> (*grilleAnalyse)[<a class="code" href="Constantes_8h.html#abf68bdf8402080e47166e730e6fa7839">_Taille_Y_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>]</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;                                                  [<a class="code" href="Constantes_8h.html#a22ca4a20964744e6df65d2c81d5b41ff">_Taille_X_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>],</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;                        <a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu,<a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a>* joueurIA);</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160; <span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a935de1505ff299257332d32d9b450aaa">creerGrilleDistances</a>(<span class="keywordtype">short</span> <span class="keywordtype">int</span> ligne1,<span class="keywordtype">short</span> <span class="keywordtype">int</span> colonne1,</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;                                <span class="keywordtype">short</span> <span class="keywordtype">int</span> (*grilleAnalyse)[<a class="code" href="Constantes_8h.html#abf68bdf8402080e47166e730e6fa7839">_Taille_Y_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>]</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;                                                          [<a class="code" href="Constantes_8h.html#a22ca4a20964744e6df65d2c81d5b41ff">_Taille_X_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>],</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;                                <span class="keywordtype">short</span> <span class="keywordtype">int</span> (*grilleDistance)[<a class="code" href="Constantes_8h.html#abf68bdf8402080e47166e730e6fa7839">_Taille_Y_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>]</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;                                                          [<a class="code" href="Constantes_8h.html#a22ca4a20964744e6df65d2c81d5b41ff">_Taille_X_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>]);</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="keywordtype">short</span> <span class="keywordtype">int</span> <a class="code" href="Jeu_8c.html#a8f806829e6634cfacfd7c54648baf3c6">choisieCibleIA</a>(<a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a>* joueurIA,<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a>* jeu,<span class="keywordtype">short</span> <span class="keywordtype">int</span> (*grilleDistance)[<a class="code" href="Constantes_8h.html#abf68bdf8402080e47166e730e6fa7839">_Taille_Y_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>]</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;                                                                            [<a class="code" href="Constantes_8h.html#a22ca4a20964744e6df65d2c81d5b41ff">_Taille_X_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>]);</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a234255b8c79dacdf45153d250a32cee5">choisieDirection</a>(<a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a>* joueurIA,<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a> *jeu,<span class="keywordtype">short</span> <span class="keywordtype">int</span> distanceJoueurCible,</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;                      <span class="keywordtype">short</span> <span class="keywordtype">int</span> (*grilleDistance)[<a class="code" href="Constantes_8h.html#abf68bdf8402080e47166e730e6fa7839">_Taille_Y_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>]</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;                                                 [<a class="code" href="Constantes_8h.html#a22ca4a20964744e6df65d2c81d5b41ff">_Taille_X_Grille</a>/<a class="code" href="Constantes_8h.html#a5486e43da0e415d8e657b6404134e6b7">_Precision_Analyse_IA</a>]);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#ae21534d3ce5552805c5c19c91835d45a">indicesGrilleJoueur</a>(<span class="keywordtype">short</span> <span class="keywordtype">int</span> *ligne,<span class="keywordtype">short</span> <span class="keywordtype">int</span> *colonne,<a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a>* joueur);</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;<span class="keywordtype">char</span> <a class="code" href="Jeu_8c.html#ac2f5807a1e5457c87bad141d69a644ad">testCollisionGenerique</a>(<span class="keywordtype">float</span> objet1[4],<span class="keywordtype">float</span> objet2[4]);</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="keywordtype">char</span> <a class="code" href="Jeu_8c.html#a9045e76f8f81369ba40d35e5ca9b55ec">testCollisionMotoBonus</a>(<a class="code" href="structJoueur.html" title="Structure d&#39;un Joueur.">Joueur</a> *mesJoueurs,<a class="code" href="structBonus.html" title="Structure d&#39;un Bonus.">Bonus</a>* bonus);</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#a680716484ae925b266b97ed9cf1ca3be">PlaceBonus</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a> *jeu,<a class="code" href="structBonus.html" title="Structure d&#39;un Bonus.">Bonus</a> *bonus);</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#acdb1470c32818255dca985898836aafa">decrementeTempsBonus</a>(<a class="code" href="structJeu.html" title="Structure du Jeu.">Jeu</a> *jeu);</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="keywordtype">void</span> <a class="code" href="Jeu_8c.html#ab00a82316a8da0ba7425cb30e7b34b9f" title="procédure de test">JeuTestRegression</a>();</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Généré le Mardi Mai 28 2013 02:19:28 pour TRON-SDL par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>
